package DataBaseQuery;




public class NotCondition extends Condition{
	Condition condition;
	public NotCondition(Condition con)
	{
		condition = con;
	}
	@Override
	public boolean isTrue()
	{	
		return !condition.isTrue();
	}
	@Override
	public boolean isTrue(RegularView v)
	{	
		return !condition.isTrue(v);
	}
	@Override
	public boolean checkInvalidVarible()
	{

		return condition.checkInvalidVarible();
	}
}
